/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * WelcomeTabPanel.java
 *
 * Created on May 5, 2011, 12:32:16 PM
 */

package GUIFORMS;

/**
 *
 * @author danielsl
 */
public class WelcomeTabPanel extends javax.swing.JPanel {

    /** Creates new form WelcomeTabPanel */
    public WelcomeTabPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        welcomeMsgLabel = new javax.swing.JLabel();
        theNextSessionIsLabel = new javax.swing.JLabel();
        sessionPreparationPanel = new javax.swing.JPanel();
        yourRoleLabel = new javax.swing.JLabel();
        userRoleLabel = new javax.swing.JLabel();
        preparationLabel = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        preparationTextArea = new javax.swing.JTextArea();
        dateForSessionLabel = new javax.swing.JLabel();
        sessionDateLabel = new javax.swing.JLabel();
        todaysDateLabel = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        ccdLogoLabel = new javax.swing.JLabel();

        setPreferredSize(new java.awt.Dimension(746, 462));

        welcomeMsgLabel.setText("Velkommen <brukernavn>. ");

        theNextSessionIsLabel.setText("Den neste sesjonen er: <sesjonsnavn> i prosjektet <prosjektnavn>.");

        sessionPreparationPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("<SesjonsNavn>"));

        yourRoleLabel.setFont(new java.awt.Font("Lucida Grande", 1, 13));
        yourRoleLabel.setText("Din rolle:");

        userRoleLabel.setText("Sekretær");

        preparationLabel.setFont(new java.awt.Font("Lucida Grande", 1, 13));
        preparationLabel.setText("Forberedelse:");

        preparationTextArea.setColumns(20);
        preparationTextArea.setEditable(false);
        preparationTextArea.setRows(5);
        preparationTextArea.setFocusable(false);
        jScrollPane1.setViewportView(preparationTextArea);

        dateForSessionLabel.setFont(new java.awt.Font("Lucida Grande", 1, 13));
        dateForSessionLabel.setText("Dato for sesjon:");

        sessionDateLabel.setText("25. Mai");

        org.jdesktop.layout.GroupLayout sessionPreparationPanelLayout = new org.jdesktop.layout.GroupLayout(sessionPreparationPanel);
        sessionPreparationPanel.setLayout(sessionPreparationPanelLayout);
        sessionPreparationPanelLayout.setHorizontalGroup(
            sessionPreparationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(sessionPreparationPanelLayout.createSequentialGroup()
                .addContainerGap()
                .add(sessionPreparationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 485, Short.MAX_VALUE)
                    .add(preparationLabel)
                    .add(sessionPreparationPanelLayout.createSequentialGroup()
                        .add(yourRoleLabel)
                        .add(159, 159, 159)
                        .add(dateForSessionLabel)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(sessionDateLabel))
                    .add(userRoleLabel))
                .addContainerGap())
        );
        sessionPreparationPanelLayout.setVerticalGroup(
            sessionPreparationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(sessionPreparationPanelLayout.createSequentialGroup()
                .add(sessionPreparationPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(yourRoleLabel)
                    .add(dateForSessionLabel)
                    .add(sessionDateLabel))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(userRoleLabel)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(preparationLabel)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 248, Short.MAX_VALUE)
                .addContainerGap())
        );

        todaysDateLabel.setText("Dagens dato: 25.01.2011");

        ccdLogoLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Logo1_smallerpng.png"))); // NOI18N

        org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .add(ccdLogoLabel)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .add(ccdLogoLabel)
                .addContainerGap())
        );

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                        .add(layout.createSequentialGroup()
                            .add(theNextSessionIsLabel)
                            .add(106, 106, 106))
                        .add(sessionPreparationPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(welcomeMsgLabel))
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(layout.createSequentialGroup()
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 319, Short.MAX_VALUE)
                        .add(todaysDateLabel)
                        .add(30, 30, 30))
                    .add(layout.createSequentialGroup()
                        .add(101, 101, 101)
                        .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(welcomeMsgLabel)
                    .add(todaysDateLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(theNextSessionIsLabel)
                .add(23, 23, 23)
                .add(sessionPreparationPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(141, Short.MAX_VALUE))
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap(243, Short.MAX_VALUE)
                .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(149, 149, 149))
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel ccdLogoLabel;
    private javax.swing.JLabel dateForSessionLabel;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JLabel preparationLabel;
    private javax.swing.JTextArea preparationTextArea;
    private javax.swing.JLabel sessionDateLabel;
    private javax.swing.JPanel sessionPreparationPanel;
    private javax.swing.JLabel theNextSessionIsLabel;
    private javax.swing.JLabel todaysDateLabel;
    private javax.swing.JLabel userRoleLabel;
    private javax.swing.JLabel welcomeMsgLabel;
    private javax.swing.JLabel yourRoleLabel;
    // End of variables declaration//GEN-END:variables

}
